-- GENERATED SPELL FOR [Sergeant Malthus] --


function spell0_814(pUnit, Event) --@Veil of Shadow,Heal--
pUnit:FullCastSpellOnTarget(7068,pUnit)
pUnit:RegisterEvent('Sorts_814', 16500, 1)
end

function Sorts_814(pUnit, Event)
local choix_sorts_814 = math.random(0, 0)
if choix_sorts_814 == 0 then
pUnit:RegisterEvent('spell0_814', 1, 1)
end
end

function mob814_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_814', math.random(1500, 3000), 1)
end

function mob814_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob814_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob814_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(814, 1, 'mob814_Action')
RegisterUnitEvent(814, 2, 'mob814_Leave')
RegisterUnitEvent(814, 3, 'mob814_Kill')
RegisterUnitEvent(814, 4, 'mob814_Die')
